package com.niit.mall.order.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.niit.mall.common.domain.dto.PageDTO;
import com.niit.mall.order.domain.dto.OrderReturnApplyDTO;
import com.niit.mall.order.domain.dto.OrderReturnApplyDetailDTO;
import com.niit.mall.order.domain.po.OrderReturnApply;
import com.niit.mall.order.domain.query.ReturnApplyQuery;

/**
 * @BelongsProject: pardo_mall_backend
 * @BelongsPackage: com.niit.mall.order.service
 * @Author: XihenXi
 * @CreateTime: 2025-06-18  15:05
 * @Description: TODO
 * @Version: 1.0
 */
public interface IOrderReturnApplyService extends IService<OrderReturnApply> {

    /**
     * 分页查询所有退单
     * @param query 查询参数
     * @return 分页退单视图对象
     */
    PageDTO<OrderReturnApplyDTO> queryAllRefund(ReturnApplyQuery query);

    /**
     * 根据退单id获取退单详情
     * @param id 退单id
     * @return 退单详情
     */
    OrderReturnApplyDetailDTO getDetailById(Long id);
}
